/**
 * guestbook
 */
function viewReply(id) {
	if(!id) return;
	
	jQuery.get(U('Guestbook/ajax_getReply', 'pkid='+id), function(r){
		if(r) {
			var s = '<div class="y-list" style="height:200px;width:600px;overflow:auto;"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
			for(var i=0; i<r.length; i++) {
				s += '<tr><td>'+ r[i]['nickname'] +'</td>' +
					'<td>'+ r[i]['email'] +'</td>' +
					'<td>'+ r[i]['website'] +'</td>' +
					'<td>'+ processFace(r[i]['content']) +'</td></tr>';
			}
			
			s += '</table></div>';
			
			SysUtil.Dialog.show(s, '回复');
		}
	}, 'json');
}